<!DOCTYPE html>
<html>
<head lang="en">
  <title>B</title>
</head>
<body>
<script>
localStorage.clear();
localStorage.setItem('foo', 'bar');
</script>
</body>
</html>